
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="/wondershare/js/jquery.js"></script> 
<script src="../../fckeditor/fckeditor.js"></script> 
<link href="/wondershare/styles/main.css" rel="stylesheet" type="text/css" />
<link href="/wondershare/styles/general.css" rel="stylesheet" type="text/css" />


<title>产品<{$tile}>页</title>

</head>
<script>
function tab()
{
  $('#tab_info').find("span").mouseover(function()
  {
   $('#tab_info').find("span").removeClass("tab-front");
   $('#tab_info').find("span").addClass("tab-back");
   $(this).removeClass("tab-back");
   $(this).addClass("tab-front");
   var target = $('#' + this.id+'le');
   if (target.size() > 0) 
   {
	$('#tabbody-div').find("table").hide();
	target.show();
   } 
  }); 
	
}
function create_FCKedito(value)
{
 
   var oFCKeditor          = new FCKeditor(value);      //创建FCK对象
   oFCKeditor.Height      = 400;        //设置FCK显示高度
   oFCKeditor.Width      = 850;        //设置FCK显示宽度
   oFCKeditor.BasePath   = "../../fckeditor/";    //指定编辑器路径，要加载fckeditor/editor/fckeditor.html
   oFCKeditor.ReplaceTextarea(); 
}
function create()
{
  var arr = ['guide_intro', 'guide_content', 'techSpec_content_table1', 'techSpec_content_table2'];
  $.each(arr, function(key, value) 
  { 
   create_FCKedito(value);
  }
  ); 
  tab();
}

</script>

<body   onload="create()">

<h1>
<span class="action-span">
<a href="/wondershare/product.php?action=productList">公共产品列表</a>
</span>
<span class="action-span1">
<a href="i#">管理中心</a>
</span>
<span id="search_id" class="action-span1"> - 公共产品其它参数<{$tile}> </span>
<div style="clear:both"></div>
</h1>

<div id="tabbar-div">
	<p  id="tab_info">
       <span id="guide-tab" class="tab-front">Guide content</span><span id="techspec-tab" class="tab-back" >TechSpec content</span>
      </p>
    </div>
<div id="tabbody-div"  style=" width:1100px;" >
      <form  name="theForm" method="post" action="/wondershare/product_parameters.php?action=index" enctype="multipart/form-data" >
    

        <!-- Guide_content -->
      <table width="90%"  id="guide-table">
          <tbody>
		   <tr>
            <td>Guide 概要</td>
			<td>
			<textarea name="guide_intro" size="50"   id="guide_intro" /> <{$p_parameters.product_guide_intro}></textarea>
			</td>
          </tr>
		  
		   <tr>
            <td>Guide 内容</td>
			<td>
			<textarea name="guide_content" size="50"   value="   " id="guide_content" />  <{$p_parameters.product_guide_content}> </textarea>
			</td>
          </tr>
		 
		  
        </tbody></table>
		
		<!-- techSpec_content -->
        <table width="90%" style="display:none" id="techspec-table">
          <tbody>
		  <tr>
            <td>技术参数标题1</td>
			<td>
			 <input type="text" size="50"  value="<{$p_parameters.techspec_title1}>" name="techspec_title1"  id="techspec_title1">
			</td>
          </tr>
		   <tr>
            <td>表格数据1</td>
			<td>
			<textarea name="techSpec_content_table1" size="50"   style="width:850px; height:100px;" value="" id="techSpec_content_table1" /> <{$p_parameters.techspec_content_table1}></textarea>
			</td>
          </tr>
		   <tr>
            <td>技术参数标题2</td>
			<td>
			 <input type="text" size="50"  value="<{$p_parameters.techspec_title2}>" name="techspec_title2"  id="techspec_title2">
			</td>
          </tr>
		   <tr>
            <td>表格数据2</td>
			<td>
			<textarea name="techSpec_content_table2" size="50"   value="   " id="techSpec_content_table2" /> <{$p_parameters.techspec_content_table2}></textarea>
			</td>
          </tr>
        </tbody></table>
        <div  style="margin-left:380px; margin-top:20px;" id="submit_div">
          <input type="hidden"  name="product_id" value="<{$product_id}>">
          <input type="hidden"  name="is_add" value="<{$is_add}>">
		  <input type="hidden"   value="<{$tile}> " name="tile">
		  
          <input type="submit"   class="button" value="<{$tile}>" name="sub_from">
          <input type="reset" class="button" value=" 重置 ">
        </div>
        <input type="hidden" value="<{$form_act}>" name="act" >
      </form>
    </div>
</body>
</html>